<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><fmt:message key="systemHelpList.heading"/></title>
<link href="${ctxPath}/style/info.css" rel="stylesheet" type="text/css" />

<script language="javascript">
function tabs(n)
{
var len = 4;
for (var i = 1; i <= len; i++)
{
document.getElementById('tab_a' + i).style.display = (i == n) ? 'block' : 'none';
document.getElementById('_' + i).style.display = (i == n) ? 'inline' : 'none';
}
}
function cl(n)
{
var len = 4;
for (var i = 1; i <= len; i++)
{
document.getElementById('tab_a' + i).style.display = (i == n) ? 'none' : 'none';
document.getElementById('_' + i).style.display = (i == n) ? 'none' : 'none';
}
}
function czopen(){   
            document.getElementById("check_see").style.display="block" ;}	
function czclose(){   
            document.getElementById("check_see").style.display="none" ;}	
</script>
  </head>
  <body>	
<ul>
	  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
	  <tr>
			<td class="titleonly" width="80%">&gt;&gt;帮助信息</td>
			<td class="titleonly_1" width="20%" align="center"> <a href="editSystemHelp.do"><img src="${ctxPath}/image/plus.gif" />&nbsp;&nbsp;<strong>添加帮助</strong></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
	 </tr>
	 </table>
	</ul>
	<ul>
	  <li>

    		<div id="div-data">
	    	<display:table name="systemHelps" sort="external" pagesize="${systemHelps.objectsPerPage}"
		    	cellpadding="0" cellspacing="0" style="width:100%" export="false" 
		    	id="systemHelpItem" partialList="true" size="${systemHelps.fullListSize}" requestURI="systemHelps.do">
				<display:column  titleKey="常见问题" sortName="title" sortable="true" class="tableinfo left">
				Q: ${systemHelpItem.title }
				</display:column>  
				<display:column media="html" title="操作" style="width:170px" class="tableinfo center">
					<a href="systemHelps.do?cmd=viewDetail&systemId=${systemHelpItem.systemId}" class="view"  ><img src="${ctxPath}/image/open.gif" width="10" height="10" class="open"/>&nbsp;&nbsp;查看</a>
					<a href="editSystemHelp.do?systemId=${systemHelpItem.systemId}" class="update"><img src="${ctxPath}/image/amend.gif" width="10" height="10" class="open"/>&nbsp;&nbsp;修改</a>
					<a href="#" class="delete" onclick="delHelp('${systemHelpItem.systemId}')"><img src="${ctxPath}/image/del.gif" width="10" height="10" class="open"/>&nbsp;&nbsp;删除</a>
				</display:column>
			</display:table>	
			</div>
			<script type="text/javascript">
				highlightTableRows('systemHelpItem');
				function delHelp(systemId)
				{
					confirm("是否确定删除此信息?")
					{
						window.location.href="systemHelps.do?cmd=delete&systemId="+systemId;
					}
				}
			</script>
		  </li>
		  </ul>  

	</body>
</html>